<?php

class personalController extends Controller{
	
    public function personaldata(){
    	//当前页
    	$id = isset($_GET['id'])?$_GET['id']:1;
		
        $personalModel = new personalModel();
		//英雄数据
        $personal = $personalModel->selectUser($id);
        $this->assign('personal',$personal);
		//view显示页面
        $this->display('personal.tpl');
    }
	
}	
?>